package com.dmm.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author com/dmm
 * @since 2023-04-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Question implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 题目
     */
    private String subjectinfo;

    /**
     * A选项
     */
    @TableField("subjectA")
    private Integer subjecta;

    /**
     * B选项
     */
    @TableField("subjectB")
    private Integer subjectb;

    /**
     * C选项
     */
    @TableField("subjectC")
    private Integer subjectc;

    /**
     * D选项
     */
    @TableField("subjectD")
    private Integer subjectd;



}
